# progress_tracking/urls.py

from django.urls import path
from . import views
from progress_tracking.views import submit_progress

urlpatterns = [
    path('', views.project_list, name='project_list'),
    path('projects/add/', views.project_create, name='project_create'),
    path('projects/<int:pk>/edit/', views.project_update, name='project_update'),
    path('projects/<int:pk>/delete/', views.project_delete, name='project_delete'),
    path('projects/<int:pk>/set_deadline/', views.set_deadline, name='set_deadline'),
    path('clean_invalid_data/', views.clean_invalid_data, name='clean_invalid_data'),
    path('projects/<int:pk>/extend_deadline/', views.extend_deadline, name='extend_deadline'),
    path('unsubmitted_projects_report/', views.unsubmitted_projects_report, name='unsubmitted_projects_report'),
    path('export/projects/csv/', views.export_projects_csv, name='export_projects_csv'),
    path('student/progress/submit/', submit_progress, name='submit_progress_student'),
    path('progress/success/', views.student_progress_success, name='student_progress_success'),
]
